/**
 * Copyright(c) 2010 Ceno Techonologies Co., Ltd.
 *
 * History:
 *   14-6-30 下午4:45 Created by yfyang
 */
package com.jade.store.wechat.biz.auth;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * access token，与网页授权的AuthToken不一样。
 *
 * @author <a href="mailto:ya.jin@weixin.com">ya.jin</a>
 * @version 1.0 14-6-30 下午4:45
 */
public class Token implements Serializable
{
    @JsonProperty ("access_token")
    private String accessToken;
    @JsonProperty ("expires_in")
    private int expiresIn;

    public String getAccessToken()
    {
        return accessToken;
    }

    public void setAccessToken(String accessToken)
    {
        this.accessToken = accessToken;
    }

    public int getExpiresIn()
    {
        return expiresIn;
    }

    public void setExpiresIn(int expiresIn)
    {
        this.expiresIn = expiresIn;
    }
}
